#include <iostream>

using namespace std;

class MyInt
{
	int nVal;
public:
	MyInt(int n) :nVal(n){}
	int ReturnVal(){ return nVal; }
	MyInt & operator -(int n)
	{
		nVal -= n;
		return *this;
	}
};

int main()
{
	MyInt objInt(10);
	objInt - 2 - 1 - 3;
	cout << objInt.ReturnVal()<< ',';
	objInt - 2 - 1;
	cout << objInt.ReturnVal() << endl;

	getchar();
	return 0;

}